export default {
	actions: {
		addOdd(context,value) {
			if(context.state.sub % 2){
				context.commit('ADD',value)
			}
		}
	},
	mutations: {
		ADD(state,value) {
			state.sub = state.sub + value
		}
	},
	state: {
		sub: 0
	},
	getters : {
		bigSum(state){
			return state.sub*10
		}
	}

}